package com.island.gomall.service;

import com.island.gomall.entity.CategoryEntity;

import java.util.List;

public interface CategoryService {

    List<CategoryEntity> getCategoryWithTree();

    boolean removeCategoryNode(int cid);

    void addCategoryNode(int parentId, String name);
}
